package com.jsj.dao;


import com.jsj.domain.Course;
import com.jsj.domain.StuClass;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface CourseDao {
    List<Course> query();

    List<Course> queryByTeacher(String teacherId);

    List<Course> queryByStudent(String studentId);
    Integer insert(Course course);
}
